#ifndef _SENDMSG__
#define _SENDMSG__
typedef struct{
    int length;
    char data[1000];
}train;
//保证一次sendMsg对应一次recvMsg
int sendMsg(int sockfd,const char *buf);
int recvMsg(int sockfd,char *buf);

#endif

